<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body style="margin: 0px 0px 0px 0px;">
	<h1
		style="background-color:  #AFD1F4;text-align: center; margin: 0px 0px 0px 0px;padding: 20px 0px 20px 0px;">用户信息</h1>
	<form
		action="${pageContext.request.contextPath }/updateUserServlet?id=${user.id}"
		method="post" >
		<table align="center">
			<tr><td colspan="2">${error02_msg}<tr>
			<tr>
				<td>姓名</td>
				<td><input type="text" name="username" value="${user.username}"></td>
			</tr>
			<tr>
				<td>性别</td>
				<td><input type="radio" name="gender" checked="checked" value="${user.gender}">${user.gender} &nbsp;&nbsp;
				<input type="radio" name="gender" value="${user.gender=='男'?'女':'男'}">${user.gender=='男'?'女':'男'}
				</td>
			</tr>
			<tr>
				<td>电话号码</td>
				<td><input type="text" name="telephone" value="${user.telephone}"></td>
			</tr>
			<tr>
				<td>个人介绍</td>
				<td><textarea rows="10" cols="30" name="introduce"  >${user.introduce}</textarea></td>
			</tr>
			<tr>
				<td><input type="submit" value="保存" ></td>
				<td><input type="button" onclick="window.history.back();" value="返回"></td>
			</tr>
		</table>
	</form>
</body>
</html>